package com.gzck.gzck_verson2.service.impl;

import com.gzck.gzck_verson2.pojo.GProjectUser;
import com.gzck.gzck_verson2.mapper.GProjectUserMapper;
import com.gzck.gzck_verson2.pojo.vo.AddProjectVO;
import com.gzck.gzck_verson2.service.IGProjectUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户和工程中间表 服务实现类
 * </p>
 *
 * @author 任永辉
 * @since 2024-01-06
 */
@Service
public class GProjectUserServiceImpl extends ServiceImpl<GProjectUserMapper, GProjectUser> implements IGProjectUserService {
    @Autowired
    private GProjectUserMapper gProjectUserMapper;
    /**
     * 添加用户和工程
     *
     * @param entity
     * @return
     */
    @Override
    public boolean save(AddProjectVO entity) {
        return gProjectUserMapper.save(entity);
    }
}
